package com.jxc.service.admin;

import java.util.List;
import java.util.Map;

import com.jxc.entity.admin.Stock;

/**
 * 库存service接口
 */
public interface StockService {
    int add(Stock stock);

    int edit(Stock stock);
    Stock findByProductId(Long id);

    List<Stock> findList(Map<String, Object> queryMap);

    Integer getTotal(Map<String, Object> queryMap);

    int delete(Long id);
}
